<?php 
require('include/authority.php');
if(!Authority::is_manager())
  {
    die('FAIL');
  }
$username = $_GET['username'];
if(!isset($username))
  {
    die('FAIL');
  }
if(!Authority::unset_manager($username))
  {
    die('FAIL');
  }
die('OK');
?>